<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <script src="preview/js/jquery-3.2.1.min.js"></script>
    <title>标题</title>
    <style>
        *{
            padding:0;
            margin:0;
            box-sizing: border-box;
        }
        img{display: block;}
        .title{width: 9.52rem;height: 0.8rem;}
        .title img{width: 100%;}
    </style>
</head>
<body>
<div class="title">
    <img src="preview/img/logo1.png" alt=""/>
</div>
<!--<div class="block"></div>-->

</body>
<script type="text/javascript">
    function getRem(prem,pwidth){
        var html = document.getElementsByTagName("html")[0];
        var oWidth = $(window).width||document.body.clientWidth || document.documentElement.clientWidth;
        html.style.fontSize = oWidth/pwidth*prem + "px";
        return oWidth/pwidth*prem;
    }

    window.onresize = function(){
        getRem(100,952);
    };
    window.onload = function(){
        getRem(100,952);
    }
</script>
</html>